Skip to content

Instantly share code, notes, and snippets.

@AzimsTech
AzimsTech / !OpenWrt-Stuffs.md
Last active November 30, 2026 22:22
Installing and Using OpenWrt

![banner][banner-img]

📖 Table of Contents

  • 🛠 Setup & Configuration
    • [🔑 SSH into OpenWrt][ssh]
    • [🌐 Configure using LuCI][luci-config]
  • [🖥️ Configure using CLI][cli-config]
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active November 30, 2026 22:18
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
@chandika
chandika / FACTORY_PROXY_CC.md
Last active November 30, 2026 22:17 — forked from ben-vargas/FACTORY_CLIProxyAPI_Claude_ChatGPT.md
Factory CLI with Claude Subscription / ChatGPT Codex via CLIProxyAPI

Executive Summary

This guide documents how to use Factory's Droid CLI with your Claude Code Max subscription (OAuth authentication) instead of pay-per-token API keys. The solution leverages CLIProxyAPI as a transparent authentication proxy that converts API key requests from Factory CLI into OAuth-authenticated requests for Anthropic's API.

Architecture Overview

Factory CLI → [Anthropic Format + API Key] → CLIProxyAPI → [Anthropic Format + OAuth] → Anthropic API
                                                  ↓
 (Auth Header Swap)
@Impact123
Impact123 / Check Space.md
Last active November 30, 2026 22:12
Check HAOS Space utilization

How to check HAOS space usage

The goal of this Article is to teach you how to find out what takes how much space on your HAOS system.
At the end you should have an interactive way to explore your storage similar to this.
Animation

To check the recorder database size/stats I recommend the DBStats app/container.

Table of contents

@MBP996
MBP996 / AnkerSolix4Pro_ZeroExport.yaml
Last active November 30, 2026 22:03
Anker SOLIX 4 Pro - Local Zero Export & Eco-Mode
blueprint:
name: Anker SOLIX 4 Pro - Local Zero Export & Eco-Mode (V2)
description: >
Controls local zero export. Includes Eco-Mode, hysteresis, optional AC charging,
adjustable intervals, and a physical failsafe (Real-Power-Check) on connection loss.
domain: automation
input:
# --- ENTITIES ---
grid_power_sensor:
name: Grid Power Sensor (e.g. Tasmota, Shelly)
@MBP996
MBP996 / AnkerSolix4Pro_Nulleinspeisung.yaml
Last active November 30, 2026 22:02
Anker SOLIX 4 Pro - Lokale Nulleinspeisung & Eco-Modus
blueprint:
name: Anker SOLIX 4 Pro - Lokale Nulleinspeisung & Eco-Modus (V2)
description: >
Regelt die Nulleinspeisung lokal. Inklusive Eco-Modus, Hysterese, optionalem AC-Laden,
einstellbarem Takt und einem physischem Notfall-Stopp (Real-Power-Check) bei Verbindungsabbrüchen.
domain: automation
input:
# --- ENTITÄTEN ---
grid_power_sensor:
name: Netzbezug (z.B. Tasmota oder Shelly)
@jgamblin
jgamblin / antiautosploit.py
Last active November 30, 2026 22:02
Blocks Shodan IPs From Scanning Your Servers.
#!/usr/bin/python3
import os
shodan = ["104.131.0.69", "104.236.198.48", "155.94.222.12","155.94.254.133", "155.94.254.143", "162.159.244.38", "185.181.102.18", "188.138.9.50", "198.20.69.74", "198.20.69.98", "198.20.70.114", "198.20.87.98", "198.20.99.130", "208.180.20.97", "209.126.110.38", "216.117.2.180", "66.240.192.138", "66.240.219.146", "66.240.236.119", "71.6.135.131", "71.6.146.185", "71.6.158.166", "71.6.165.200", "71.6.167.142", "82.221.105.6", "82.221.105.7", "85.25.103.50", "85.25.43.94", "93.120.27.62", "98.143.148.107", "98.143.148.135"]
for ip in shodan:
os.system("iptables -A INPUT -s {} -j DROP".format(ip))
Definition sig_fst {A B} {p q : {x : A | B x}} (H : p = q)
: proj1_sig p = proj1_sig q :=
eq_rect _ (fun z => proj1_sig p = proj1_sig z) eq_refl _ H.
Definition sig_snd {A B} {p q : {x : A | B x}} (H : p = q)
: eq_rect _ B (proj2_sig p) _ (sig_fst H) = proj2_sig q :=
match H with
| eq_refl => eq_refl
end.
@paulera
paulera / gorilla.bas
Created July 10, 2017 14:06
Source code for the game GORILLA.BAS from 1991, delivered with MS-DOS operating systems.
' Q B a s i c G o r i l l a s
'
' Copyright (C) IBM Corporation 1991
'
' Your mission is to hit your opponent with the exploding banana
@d7samurai
d7samurai / .readme.md
Last active November 30, 2026 21:41
Minimal D3D12

Minimal D3D12

Minimal D3D12 reference implementation: An uncluttered Direct3D 12 setup + basic rendering primer and API familiarizer. Complete, runnable Windows application contained in a single function and laid out in a linear, step-by-step fashion that should be easy to follow from the code alone. No modern C++ / OOP or (other) obscuring cruft. ~360 LOC. View on YouTube

hollowcube

Maps closely to the original Minimal D3D11, which also lists related D3D11 gists of the same series / form factor.